package com.ztmg.water.service.system;

import com.ztmg.water.model.system.SysUser;
import com.ztmg.water.vo.common.CommonFlag;
import com.ztmg.water.vo.system.SysUserVO;
import com.ztmg.water.dto.system.SysUserDTO;
import com.ztmg.water.dto.system.SysUserPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysUserService{

		JsonResult create(SysUserDTO dto);
		JsonResult update(SysUserDTO dto);
		JsonResult<SysUserVO> selectById(Integer id);
		JsonResult<SysUserVO> select(SysUserDTO dto);
		JsonResult<PageInfo<SysUserVO>> selectPage(SysUserPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(SysUserDTO dto);
	JsonResult batchDelete(List<Integer> ids);
	JsonResult<SysUserVO> loginValidate(SysUserDTO dto);
}